<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta name="format-detection" content="telephone=no" />
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <title>斯迈普解盘侠</title>
    
    <link rel="stylesheet" href="stylesheets/zui.min.css"/>
    <link rel="stylesheet" href="stylesheets/main.css" id="css"/>
    <link rel="stylesheet" href="javascripts/showimg/css/showimg.css" id="css" />
	<link rel="stylesheet" href="javascripts/drag/pullToRefresh.css" id="css" />
	<script src="javascripts/jquery-1.10.1.min.js"></script>
	<script src="javascripts/zui.min.js"></script>
	<script src="javascripts/touch.min.js"></script> 
	<script src="javascripts/sockjs-0.3.min.js"></script>
	<script src="javascripts/dragloader.js"></script>
	<script src="javascripts/drag/iscroll.js"></script>
	<script src="javascripts/drag/pullToRefresh.js"></script>
	
	<script src="javascripts/showimg/showimg.js"></script>
	<script src="javascripts/main.js"></script>
	<script src="javascripts/tool.js"></script>
	<script src="javascripts/footer.js"></script>
	
	<script src="javascripts/header1st.js"></script>
	<script src="javascripts/index1st.js"></script>

<!-- 	<link rel="stylesheet" href="javascripts/pinchzoom/style.css"> -->
    <script type="text/javascript" src="javascripts/pinchzoom/underscore.js"></script>
    <script type="text/javascript" src="javascripts/pinchzoom/pinchzoom.js"></script>
    
    
    <script>
     //验证当前本地用户名和密码是正确,只需第一次进入页面时进行验证
     	$(function(){
     		var userInfo = getLocalUserInfo();
     		if(userInfo != null){
     		//计数
     		if(sessionStorage.pagecount){
     		  sessionStorage.pagecount=Number(sessionStorage.pagecount) +1;
     		  }else{
     		  sessionStorage.pagecount=1;
     		 }
     		if(sessionStorage.pagecount == '1'){
 	    		var code = userInfo.mphone;
	    		var pwd =  userInfo.pwd;
 				$.ajax({
					url:'../authen/login.do',
 					type:'post',
 					data:{code:code,pwd:pwd},
 					dataType:'json',
 					success:function(d){
 						if(!d.success){
 							window.localStorage.setItem('userInfo',null);		
 						} 
 					}
 				});
     		}
     		
     		}
     		
     		

       
     	});
     
     
    	</script>
</head>
<body>
<div class="container index">
        <!--头开始-->
        <header class="nav-header">
            
        </header>
        <!--头结束-->
        <!--content开始-->
        <div class="row con-box" id="index-wrapper">
            <div class="load-icon-box">
                <img src="images/loading.png" alt=""/>
                <span>上拉刷新数据...</span>
            </div>
        </div>
        <!--content结束-->

        <footer class="nav-footer">
			<div class="col-xs-3  footer-nav-active" id="hall" >
				<i class="icon icon-home"></i>
				<h4>解盘</h4>
			</div>
			<div class="col-xs-3" id="notify"  >
				<i class="icon icon-volume-up"></i>
				<h4>喊单</h4>
			</div>
			<div class="col-xs-3" id= "news" >
				<i class="icon icon-globe"></i>
				<h4>资讯</h4>
			</div>
			<div class="col-xs-3" id="my" >
				<i class="icon icon-user"></i>
				<h4>个人中心</h4>
			</div>
		</footer>
    </div>
    
    <div id="template" style="display:none;">
    	<div class="newsBoxTemplate news-box">
                        <div class="news-time-box col-xs-msg-time">
                            <div class="news-pointer-box"><div></div></div>
                            <span class="t-publishTime"></span>
                        </div>
                        <div class="col-xs-msg-content news-con-box">
                            <div class="row">
                                <div class="col-xs-1 text-icon-box"><span><i class="icon icon-list-alt"></i></span></div>
                                <div class="col-xs-11 news-text-box">
                                    <p  class="t-news-content"></p>
                                    <div class="t-unfoldBtn" style="text-align:right;margin-right: 20px;"></div>
                                </div>
                            </div>
                        </div>
                    </div>
    </div>



</body></html>